Optimal. Leaf size=122 \[ a x+\frac {i b e^{i c} (f+g x) \left (-i d (f+g x)^n\right )^{-1/n} \Gamma \left (\frac {1}{n},-i d (f+g x)^n\right )}{2 g n}-\frac {i b e^{-i c} (f+g x) \left (i d (f+g x)^n\right )^{-1/n} \Gamma \left (\frac {1}{n},i d (f+g x)^n\right )}{2 g n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3365, 2208} \[ \frac {i b e^{i c} (f+g x) \left (-i d (f+g x)^n\right )^{-1/n} \text {Gamma}\left (\frac {1}{n},-i d (f+g x)^n\right )}{2 g n}-\frac {i b e^{-i c} (f+g x) \left (i d (f+g x)^n\right )^{-1/n} \text {Gamma}\left (\frac {1}{n},i d (f+g x)^n\right )}{2 g n}+a x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2208
Rule 3365
Rubi steps
\begin {align*} \int \left (a+b \sin \left (c+d (f+g x)^n\right )\right ) \, dx &=a x+b \int \sin \left (c+d (f+g x)^n\right ) \, dx\\ &=a x+\frac {1}{2} (i b) \int e^{-i c-i d (f+g x)^n} \, dx-\frac {1}{2} (i b) \int e^{i c+i d (f+g x)^n} \, dx\\ &=a x+\frac {i b e^{i c} (f+g x) \left (-i d (f+g x)^n\right )^{-1/n} \Gamma \left (\frac {1}{n},-i d (f+g x)^n\right )}{2 g n}-\frac {i b e^{-i c} (f+g x) \left (i d (f+g x)^n\right )^{-1/n} \Gamma \left (\frac {1}{n},i d (f+g x)^n\right )}{2 g n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.26, size = 126, normalized size = 1.03 \[ a x+\frac {i b (\cos (c)+i \sin (c)) (f+g x) \left (-i d (f+g x)^n\right )^{-1/n} \Gamma \left (\frac {1}{n},-i d (f+g x)^n\right )}{2 g n}-\frac {i b (\cos (c)-i \sin (c)) (f+g x) \left (i d (f+g x)^n\right )^{-1/n} \Gamma \left (\frac {1}{n},i d (f+g x)^n\right )}{2 g n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.60, size = 0, normalized size = 0.00 \[ {\rm integral}\left (b \sin \left ({\left (g x + f\right )}^{n} d + c\right ) + a, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int b \sin \left ({\left (g x + f\right )}^{n} d + c\right ) + a\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.21, size = 0, normalized size = 0.00 \[ \int a +b \sin \left (c +d \left (g x +f \right )^{n}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ a x + b \int \sin \left ({\left (g x + f\right )}^{n} d + c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int a+b\,\sin \left (c+d\,{\left (f+g\,x\right )}^n\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \sin {\left (c + d \left (f + g x\right )^{n} \right )}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________